/* @(#)GSOrderSubmitVO.java    
*
* Project: GS
*
* Modify Information:
* =============================================================================
*   Author       Date       Description
*   ------------ ---------- ---------------------------------------------------
*   Jenny Li     2006-2-15    新增
*
* Copyright Notice:
* =============================================================================
*    Copyright (c) 2001-2006 Beijing HiTRUST Technology Co., Ltd. 1808 Room, 
*        Science & Technology Building, No. 9 South Street, Zhong Guan Cun, 
*        Haidian District, Beijing ,100081, China All rights reserved.
*
*    This software is the confidential and proprietary information of
*        Beijing HiTRUST Technology Co., Ltd. ("Confidential Information").
*        You shall not disclose such Confidential Information and shall use it
*        only in accordance with the terms of the license agreement you entered
*        into with HiTRUST.
*
* Warning:
* =============================================================================
* 
*/
package com.hitrust.gs.vo.report;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.hitrust.gs.service.GSBaseBean;

/**
 * @author simonyi
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class GSNaturalOrderVO implements GSBaseBean {

    public String orderId ;
    public String orderStatus;
    public String concentricityId;
    public String manufactureId;
    public String manufactureName;
    public String manufactureUnitPrice;
    public String orderCount;
    public String totalPrice;
    public String deptId;
    public String detailStatus;
    public String providerName;
    public String quantUnit;
    public String notes;
    
    
    public Object process(ResultSet aResultSet) throws SQLException {
        GSNaturalOrderVO vo = new GSNaturalOrderVO();
        
        vo.orderId = aResultSet.getString("P1");
        vo.orderStatus = aResultSet.getString("P2");
        vo.concentricityId = aResultSet.getString("P3");
        vo.manufactureId = aResultSet.getString("P4");
        vo.manufactureName = aResultSet.getString("P5");
        vo.manufactureUnitPrice = aResultSet.getString("P6");
        vo.orderCount = aResultSet.getString("P7");
        vo.totalPrice = aResultSet.getString("P8");
        vo.deptId = aResultSet.getString("P9");
        vo.detailStatus = aResultSet.getString("P10");
        vo.providerName = aResultSet.getString("P11");
        vo.quantUnit = aResultSet.getString("P12");
        vo.notes = aResultSet.getString("P99");
        
        return vo;
    }
}
